﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using Nop.Core;

namespace Nop.Data
{
    /// <summary>
    /// (Created by Shiny)
    /// </summary>
    public interface IDbContextExtend:IDbContext
    {
        /// <summary>
        /// excute procedure
        /// </summary>
        /// <param name="commandText">procedure name</param>
        /// <param name="parameters">procedure pars</param>
        /// <returns></returns>
        int ExecuteStoredProcedure(string commandText, params object[] parameters);
    }
}
